/* pages/search/search.wxss */
.search-container {
  padding-bottom: 40rpx;
  min-height: 100vh;
  // background-color: #f8f0df;

  // .van-search__content {
  //   background-color: #a5646d;
  // }

  // .van-cell__left-icon {
  //   color: #f8f0df;
  // }

  // .van-field__control {
  //   color: #a5646d;
  // }

  .msg-list {
    padding: 0 20rpx;

    .list-item {
      margin-top: 20rpx;
      position: relative;
      padding: 20rpx;
      // border: 1px solid #a5646d;
      border-radius: 16rpx;
      // box-shadow: 6rpx 6rpx 14rpx #a5646d;

      .van-icon {
        position: absolute;
        right: 20rpx;
        bottom: 20rpx;
      }

      .add-con {
        margin: 20rpx 0 0;
        padding: 0 20rpx 8rpx;
        text-align: justify;
        word-break: break-all;
        // color: #a5646d;
      }

      .list-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        // margin-top: 0.4267rem;
        height: 60rpx;
        color: #999;
        font-size: 28rpx;

        .add-user {
          display: flex;
          align-items: center;

          image {
            margin-right: 20rpx;
            width: 60rpx;
            height: 60rpx;
            border-radius: 60rpx;
          }

          .user {
            // color: #a5646d;
            width: 200rpx;
            white-space: nowrap;
            /*内容超宽后禁止换行显示*/
            overflow: hidden;
            /*超出部分隐藏*/
            text-overflow: ellipsis;
            /*文字超出部分以省略号显示*/
          }

        }

        .add-time {
          height: 100%;
          font-size: 28rpx;
          line-height: 68rpx;
        }
      }

      // .del-btn {
      //   position: absolute;
      //   bottom: 0;
      //   right: 0;
      // }

      .con {
        margin-top: 20rpx;

        .comment_list {
          margin-top: 10rpx;
          display: flex;

          .list_img {
            display: flex;
            margin-right: 10rpx;

            image {
              margin-right: 10rpx;
              width: 50rpx;
              height: 50rpx;
              border-radius: 50%;
            }

            .code {
              // margin-top: 4rpx;
              font-size: 30rpx;
            }
          }

          .list_con {
            font-size: 30rpx;
            word-break: break-all;
          }
        }
      }

      .con {
        margin-top: 20rpx;

        .reply_list {
          position: relative;
          // padding-left: 50rpx;
          padding-left: 20rpx;
        }

        .comment_list {
          position: relative;
          margin-top: 10rpx;
          display: flex;

          .list_img {
            display: flex;
            margin-right: 10rpx;

            image {
              margin-right: 10rpx;
              width: 50rpx;
              height: 50rpx;
              border-radius: 50%;
            }

            .code {
              // margin-top: 4rpx;
              font-size: 30rpx;
            }
          }

          .list_con {
            font-size: 28rpx;
            word-break: break-all;
          }
        }

        .handle_comment {
          display: flex;
          position: absolute;
          top: -70rpx;
          left: 50%;
          transform: translateX(-50%);
          // background-color: #fff;
          border-radius: 10rpx;

          .handlebtn {
            margin: 10rpx 20rpx;
            // color: #252525;
            font-size: 28rpx;
          }

          .sanjiao {
            position: absolute;
            bottom: -28rpx;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border: 15rpx solid #fff;
            border-bottom-color: transparent;
            border-left-color: transparent;
            border-right-color: transparent;
          }
        }
      }

      .tools {
        display: flex;
        justify-content: flex-end;

        .btn {
          font-size: 26rpx;
        }
      }

      .msg-img {
        display: flex;
        justify-content: space-between;

        image {
          margin: 10rpx 0 40rpx;
          margin-right: auto;
          width: 200rpx;
          height: 200rpx;

          &:nth-child(3) {
            margin-right: 0;
          }
        }
      }

      .van-icon {
        // color: #a5646d;
        font-weight: 600;
      }
    }
  }

  .empty-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .van-empty {
      // padding-top: 30vh;
      padding: 0;
    }

    .van-empty__image {
      width: 200rpx;
      height: 200rpx;

      image {
        width: 100%;
        height: 100%;
      }
    }

    // .van-empty__description {
    //   color: #a5646d;
    // }
    .empty-text {
      margin-top: -70rpx;
      width: 100%;
      font-size: 28rpx;
      text-align: center;
    }
  }
}